/*
* Copyright (c) 2025 Huawei Device Co., Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including but not limited to the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to provide persons with access to the Software
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

.list {
  overflow: hidden;
  padding-bottom: 70px;
  height: 100%;

  .music_list {
    overflow: hidden;
    height: 100%;
    padding-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .music_item {
      width: 48%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12.5px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      z-index: 1;

      .music_info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .music_name {
          display: flex;
          align-items: center;

          >span {
            margin-right: 10px;
            color: rgba(0, 0, 0, 0.9);
            font-size: 16px;
            font-weight: 500;
            text-align: left;
          }
        }

        .music_detail {
          display: flex;
          align-items: center;

          span {
            border-radius: 4px;
            background: rgba(199, 158, 99, 0.2);
            color: rgb(128, 101, 64);
            font-size: 10px;
            font-weight: 500;
            text-align: left;
            margin-right: 12px;
          }

          span:nth-child(3) {
            color: rgba(0, 0, 0, 0.4);
            font-size: 12px;
            font-weight: 400;
            text-align: left;
            background: #f1f3f5;
          }
        }
      }

      .music_icon {
        display: flex;
        align-items: center;

        img {
          margin-left: 20px;
          height: 20px;
        }
      }
    }
  }

  .mobile_music_list {
    .music_item {
      width: 100%;
    }
  }
}

.contextMenuBg {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 20;
  left: 0;
  top: 0;
}

.contextMenu {
  position: absolute;
  width: 224px;
  z-index: 20;
  border-radius: 20px;
  box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(54.37px);
  background: rgba(255, 255, 255, 0.9);
  left: 0;
  top: 0;

  >div {
    height: 48px;
    box-sizing: border-box;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  >div:nth-child(1) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }
}